<template>
  <div class="hello">
    {{id}}

  </div>
</template>

<script>
  export default {
    data() {
      return {
        id: "",
      }
    },
    created() {
      this.id = this.$route.params.id
      console.log(this.$route.params.id);

      // this.$store.dispatch('errorLog/addErrorLog', {
      //   "test":"test"
      // })

      this.$store.dispatch('test/setName', "sw2")


      console.log(this.$store.getters.errorLogs)
      console.log(this.$store.getters.nameGet)
      // this.$store.dispatch('errorLog/clearErrorLog')
    }
  }
</script>
